package com.xueyi.system.personnel.domain.po;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xueyi.common.core.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 员工管理 持久化对象
 *
 * @author xueyi
 */
@TableName(value = "base_personnel", excludeProperty = {"sort","status"})
public class BasePersonnelPo extends TBaseEntity {

    private static final long serialVersionUID = 1L;

    /** 员工编码 */
@Excel(name = "员工编码")
@TableField("code")
private String code;

    /** 籍贯 */
@Excel(name = "籍贯")
@TableField("native_place")
private String nativePlace;

    /** 身高 */
@Excel(name = "身高")
@TableField("height")
private Integer height;

    /** 民族 */
@Excel(name = "民族")
@TableField("nation")
private String nation;

    /** 是否已婚(1是 2否) */
@Excel(name = "是否已婚(1是 2否)")
@TableField("is_married")
private String isMarried;

    /** 政治面貌 */
@Excel(name = "政治面貌")
@TableField("political")
private String political;

    /** 员工性别（0男 1女 2保密） */
@Excel(name = "员工性别", readConverterExp = "0=男,1=女,2=保密")
@TableField("sex")
private String sex;

    /** 出生年月 */
@Excel(name = "出生年月")
@TableField("birth")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date birth;

    /** 地址 */
@Excel(name = "地址")
@TableField("address")
private String address;

    /** 文化程度(1高中及以下 2大专 3本科4研究生5博士6院士) */
@Excel(name = "文化程度(1高中及以下 2大专 3本科4研究生5博士6院士)")
@TableField("education")
private String education;

    /** 学历证明路径 */
@Excel(name = "学历证明路径")
@TableField("diploma")
private String diploma;

    /** 学校 */
@Excel(name = "学校")
@TableField("school")
private String school;

    /** 专业 */
@Excel(name = "专业")
@TableField("major")
private String major;

    /** 毕业时间 */
@Excel(name = "毕业时间")
@TableField("graduation_time")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date graduationTime;

    /** 工作年限 */
@Excel(name = "工作年限")
@TableField("working_seniority")
private String workingSeniority;

    /** 健康状况（1优 2良） */
@Excel(name = "健康状况", readConverterExp = "1=优,2=良")
@TableField("health")
private String health;

    /** 健康证明 */
@Excel(name = "健康证明")
@TableField("medical_certificate")
private String medicalCertificate;

    /** 联系方式 */
@Excel(name = "联系方式")
@TableField("phone")
private String phone;

    /** 是否为负责人(1是 2否) */
@Excel(name = "是否为负责人(1是 2否)")
@TableField("is_leading")
private String isLeading;

    /** 是否为相关专业(1是 2否) */
@Excel(name = "是否为相关专业(1是 2否)")
@TableField("is_relevant_major")
private String isRelevantMajor;

    /** 是否经过规范培训(1是 2否) */
@Excel(name = "是否经过规范培训(1是 2否)")
@TableField("is_cultivate")
private String isCultivate;

    /** 是否离职(1是 2否) */
@Excel(name = "是否离职(1是 2否)")
@TableField("resignation")
private String resignation;

    /** 管理经验 */
@Excel(name = "管理经验")
@TableField("manager_experience")
private String managerExperience;

    /** 管理经验 */
    @Excel(name = "岗位")
    @TableField("post")
    private String post;


    /** 管理经验 */
    @Excel(name = "部门")
    @TableField("dept")
    private String dept;

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public void setCode(String code) {
    this.code = code;
}

public String getCode() {
    return code;
}

public void setNativePlace(String nativePlace) {
    this.nativePlace = nativePlace;
}

public String getNativePlace() {
    return nativePlace;
}

public void setHeight(Integer height) {
    this.height = height;
}

public Integer getHeight() {
    return height;
}

public void setNation(String nation) {
    this.nation = nation;
}

public String getNation() {
    return nation;
}

public void setIsMarried(String isMarried) {
    this.isMarried = isMarried;
}

public String getIsMarried() {
    return isMarried;
}

public void setPolitical(String political) {
    this.political = political;
}

public String getPolitical() {
    return political;
}

public void setSex(String sex) {
    this.sex = sex;
}

public String getSex() {
    return sex;
}

public void setBirth(Date birth) {
    this.birth = birth;
}

public Date getBirth() {
    return birth;
}

public void setAddress(String address) {
    this.address = address;
}

public String getAddress() {
    return address;
}

public void setEducation(String education) {
    this.education = education;
}

public String getEducation() {
    return education;
}

public void setDiploma(String diploma) {
    this.diploma = diploma;
}

public String getDiploma() {
    return diploma;
}

public void setSchool(String school) {
    this.school = school;
}

public String getSchool() {
    return school;
}

public void setMajor(String major) {
    this.major = major;
}

public String getMajor() {
    return major;
}

public void setGraduationTime(Date graduationTime) {
    this.graduationTime = graduationTime;
}

public Date getGraduationTime() {
    return graduationTime;
}

public void setWorkingSeniority(String workingSeniority) {
    this.workingSeniority = workingSeniority;
}

public String getWorkingSeniority() {
    return workingSeniority;
}

public void setHealth(String health) {
    this.health = health;
}

public String getHealth() {
    return health;
}

public void setMedicalCertificate(String medicalCertificate) {
    this.medicalCertificate = medicalCertificate;
}

public String getMedicalCertificate() {
    return medicalCertificate;
}

public void setPhone(String phone) {
    this.phone = phone;
}

public String getPhone() {
    return phone;
}

public void setIsLeading(String isLeading) {
    this.isLeading = isLeading;
}

public String getIsLeading() {
    return isLeading;
}

public void setIsRelevantMajor(String isRelevantMajor) {
    this.isRelevantMajor = isRelevantMajor;
}

public String getIsRelevantMajor() {
    return isRelevantMajor;
}

public void setIsCultivate(String isCultivate) {
    this.isCultivate = isCultivate;
}

public String getIsCultivate() {
    return isCultivate;
}

public void setResignation(String resignation) {
    this.resignation = resignation;
}

public String getResignation() {
    return resignation;
}

public void setManagerExperience(String managerExperience) {
    this.managerExperience = managerExperience;
}

public String getManagerExperience() {
    return managerExperience;
}

}
